import request from '@/utils/request'

export function getCourse(semester) {
  return request({
    url: '/studentEvaluate/course/'+semester,
    method: 'get',
  })
}

export function getClass(query) {
  return request({
    url: '/studentEvaluate/class',
    method: 'get',
    params:query
  })
}

export function getEvaluate(query) {
  return request({
    url: '/studentEvaluate/evaluateOne',
    method: 'get',
    params:query
  })
}

export function getTime(query){
  return request({
    url:'/studentEvaluate/time',
    method: 'get',
    params:query
  })
}
export function getDiff(query){
  return request({
    url:'/studentEvaluate/diffSemester',
    method: 'get',
    params:query
  })
}

export function getSub(){
  return request({
    url:'/studentEvaluate/classOne',
    method: 'get',
  })
}
